﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HAGISV2
{
    /// <summary>
    /// 可编辑图形图层接口
    /// </summary>
    public interface IShapeLayer
    {
        FShape GetShapeByID(string id);
         
        void AddShape(FShape shp);
        void AddShapeRange(List<FShape> lstShp);

        void RemoveShape(string id);
        void RemoveShapeRange(List<string> lstIds);

        void ModifyShape(FShape NewShp);
        void ModifyShapeRange(List<FShape> lstShps);

        void UpdateShapes(List<FShape> lstShps);

        void ClearShapes();
    }
}
